import constants from '@/commons/constants';
const moduleCode = constants.MODULE_CUSTOMER_CODE;
export default [
    {
        path: '/point',
        redirect: '/point/rule',
        code: 'point_right'
    },
    {
        path: '/point/rule',
        component: () => import('@/views/user/point/rule.vue'),
        meta: {
            title: '积分规则',
            moduleCode,
            code: 'point_right:point_rule'
        }
    },
    {
        path: '/point/mail',
        component: () => import('@/views/user/point/mail.vue'),
        meta: {
            title: '积分商城',
            moduleCode,
            code: 'point_right:point_mail'
        }
    },
    {
        path: '/point/base',
        component: () => import('@/views/user/point/baseSetting.vue'),
        meta: {
            title: '积分设置',
            moduleCode,
            code: 'point_right:point_base'
        }
    },
    {
        path: '/point/mail/record',
        component: () => import('@/views/user/point/exchangeRecord.vue'),
        meta: {
            title: '兑换记录',
            moduleCode,
            permAuth: false
        }
    }
];
